const db=uniCloud.database()//连接数据库
exports.main = async (event, context) => {
	let {skip=0}=event
	return await db.collection('article').limit(8).skip(skip).orderBy('posttime','desc').get()//连接表，获取数据
};
